gcov: collect more sections to constructor list
authorWei Liu <wei.liu2@citrix.com>
Thu, 1 Sep 2016 12:06:57 +0000 (13:06 +0100)
committerWei Liu <wei.liu2@citrix.com>
Wed, 7 Sep 2016 06:30:03 +0000 (07:30 +0100)
commitafb118e719675062c3365265e28c403f5e1a3440
tree32a0d2cf0e29cc9ae1056d82067e0cf7f0f607cc
parent8695b556205fe07217f95ed591c5a7b377bde7c1
gcov: collect more sections to constructor list

The version of gcc (4.9.2) I use put constructors into .init_array*
section(s). Collect those sections into constructor list as well.

Modify both arm and x86 scripts to keep them in sync.

Signed-off-by: Wei Liu <wei.liu2@citrix.com>
Acked-by: Julien Grall <julien.grall@arm.com>
Acked-by: Jan Beulich <jbeulich@suse.com>
xen/arch/arm/xen.lds.S
xen/arch/x86/xen.lds.S